package com.skirmisher.inspection.daily.entity;

import java.util.Date;
import java.util.List;

import com.skirmisher.inspection.rectify.entity.InsJobError;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 日常巡查基准模板
 */
@Data
public class InsDailyJob {
	/** 主键 */
	@ApiModelProperty("主键")
	private String id;
	/** 模板id */
	@ApiModelProperty("模板id")
	private String tempId;
	/** 任务名称（模板名称） */
	@NotNull(message = "名称不能为空")
	@ApiModelProperty("任务名称（模板名称）")
	private String jobName;
	/** 任务编码 */
	@ApiModelProperty("任务编码")
	private String jobCode;
	/** 任务备注 */
	@ApiModelProperty("任务备注")
	private String jobDesc;
	/** 巡查开始地点经度坐标 */
	@NotNull(message = "开始地点经度坐标不能为空")
	@ApiModelProperty("巡查开始地点经度坐标")
	private Double insBeginPlaceLongitude;
	/** 巡查开始地点维度坐标 */
	@NotNull(message = "巡查开始地点维度坐标不能为空")
	@ApiModelProperty("巡查开始地点维度坐标")
	private Double insBeginPlaceLatitude;
	/** 巡查结束地点经度坐标 */
	@NotNull(message = "巡查结束地点经度坐标不能为空")
	@ApiModelProperty("巡查结束地点经度坐标")
	private Double insEndPlaceLongitude;
	/** 结束地点维度坐标 */
	@NotNull(message = "结束地点维度坐标不能为空")
	@ApiModelProperty("结束地点维度坐标")
	private Double insEndPlaceLatitude;
	/** 巡查计划开始时间 */
	@ApiModelProperty("巡查计划开始时间")
	private Date insPlanBeginTime;
	@ApiModelProperty("巡查开始开始地点名称")
	private String insBeginPlaceName;
	@ApiModelProperty("巡查结束地点名称")
	private String insEndPlaceName;
	/** 巡查计划用时 */
	@ApiModelProperty("巡查计划用时")
	private Double insPlanUseTime;
	/** 巡查负责人工号 */
	@ApiModelProperty("巡查负责人工号")
	private String insLeaderCode;
	/** 巡查负责人姓名 */
	@ApiModelProperty("巡查负责人姓名")
	private String insLeaderName;
	/** 模板状态 0：待执行 1：执行中  2：待整改 3已完成  99：删除 */
	@ApiModelProperty("模板状态 0：待执行 1：执行中  2：待整改 3已完成  99：删除")
	private String jobStatus;
	/** 创建时间 */
	@ApiModelProperty("创建时间")
	private Date recTime;
	/** 创建人编码 */
	@ApiModelProperty("创建人编码")
	private String recCode;
	/** 创建人名称 */
	@ApiModelProperty("创建人名称")
	private String recName;

	public void setId(String id) {
		this.id = id;
	}
	
	public String getId() {
		return this.id;
	}
	
	public void setTempId(String tempId) {
		this.tempId = tempId;
	}
	
	public String getTempId() {
		return this.tempId;
	}
	
	public void setJobName(String jobName) {
		this.jobName = jobName;
	}
	
	public String getJobName() {
		return this.jobName;
	}
	
	public void setJobCode(String jobCode) {
		this.jobCode = jobCode;
	}
	
	public String getJobCode() {
		return this.jobCode;
	}
	
	public void setJobDesc(String jobDesc) {
		this.jobDesc = jobDesc;
	}
	
	public String getJobDesc() {
		return this.jobDesc;
	}
	
	public void setInsBeginPlaceLongitude(Double insBeginPlaceLongitude) {
		this.insBeginPlaceLongitude = insBeginPlaceLongitude;
	}
	
	public Double getInsBeginPlaceLongitude() {
		return this.insBeginPlaceLongitude;
	}
	
	public void setInsBeginPlaceLatitude(Double insBeginPlaceLatitude) {
		this.insBeginPlaceLatitude = insBeginPlaceLatitude;
	}
	
	public Double getInsBeginPlaceLatitude() {
		return this.insBeginPlaceLatitude;
	}
	
	public void setInsEndPlaceLongitude(Double insEndPlaceLongitude) {
		this.insEndPlaceLongitude = insEndPlaceLongitude;
	}
	
	public Double getInsEndPlaceLongitude() {
		return this.insEndPlaceLongitude;
	}
	
	public void setInsEndPlaceLatitude(Double insEndPlaceLatitude) {
		this.insEndPlaceLatitude = insEndPlaceLatitude;
	}
	
	public Double getInsEndPlaceLatitude() {
		return this.insEndPlaceLatitude;
	}
	
	public void setInsPlanBeginTime(Date insPlanBeginTime) {
		this.insPlanBeginTime = insPlanBeginTime;
	}
	
	public Date getInsPlanBeginTime() {
		return this.insPlanBeginTime;
	}
	
	public void setInsPlanUseTime(Double insPlanUseTime) {
		this.insPlanUseTime = insPlanUseTime;
	}
	
	public Double getInsPlanUseTime() {
		return this.insPlanUseTime;
	}
	
	public void setInsLeaderCode(String insLeaderCode) {
		this.insLeaderCode = insLeaderCode;
	}
	
	public String getInsLeaderCode() {
		return this.insLeaderCode;
	}
	
	public void setInsLeaderName(String insLeaderName) {
		this.insLeaderName = insLeaderName;
	}
	
	public String getInsLeaderName() {
		return this.insLeaderName;
	}
	
	public void setJobStatus(String jobStatus) {
		this.jobStatus = jobStatus;
	}
	
	public String getJobStatus() {
		return this.jobStatus;
	}
	
	public void setRecTime(Date recTime) {
		this.recTime = recTime;
	}
	
	public Date getRecTime() {
		return this.recTime;
	}
	
	public void setRecCode(String recCode) {
		this.recCode = recCode;
	}
	
	public String getRecCode() {
		return this.recCode;
	}
	
	public void setRecName(String recName) {
		this.recName = recName;
	}
	
	public String getRecName() {
		return this.recName;
	}
	

	private List<InsDaliyJobItems> items;
	private List<InsDaliyWorker> workers;
	private List<InsJobError> error;

	public List<InsDaliyJobItems> getItems() {
		return items;
	}

	public void setItems(List<InsDaliyJobItems> items) {
		this.items = items;
	}

	public List<InsDaliyWorker> getWorkers() {
		return workers;
	}

	public void setWorkers(List<InsDaliyWorker> workers) {
		this.workers = workers;
	}
}